package com.base.service.COUPON.impl;

import com.base.mapper.couponmapper.CouponGoodsPrestoreMapper;
import com.base.po.coupon_prestore.CouponGoodsPrestore;
import com.base.po.coupon_prestore.CouponGoodsPrestoreExample;
import com.base.service.COUPON.CouponGoodsPrestoreService;
import com.base.utils.Page;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service("couponGoodsPrestoreService")
public class CouponGoodsPrestoreServiceImpl implements CouponGoodsPrestoreService {
    @Autowired
    private CouponGoodsPrestoreMapper couponGoodsPrestoreMapper;


    @Override
    public int countByExample(CouponGoodsPrestoreExample example) {
        return 0;
    }

    @Override
    public int deleteByExample(CouponGoodsPrestoreExample example) {
        return 0;
    }

    @Override
    public int insert(CouponGoodsPrestore record) {
        return 0;
    }

    @Override
    public int insertSelective(CouponGoodsPrestore record) {
        return couponGoodsPrestoreMapper.insertSelective(record);
    }

    @Override
    public List<CouponGoodsPrestore> selectByExample(CouponGoodsPrestoreExample example) {
        return null;
    }

    @Override
    public CouponGoodsPrestore selectByPrimaryKey(String id) {
        return couponGoodsPrestoreMapper.selectByPrimaryKey(id);
    }

    @Override
    public int updateByExampleSelective(CouponGoodsPrestore record, CouponGoodsPrestoreExample example) {
        return 0;
    }

    @Override
    public int updateByExample(CouponGoodsPrestore record, CouponGoodsPrestoreExample example) {
        return 0;
    }

    @Override
    public int updateByPrimaryKeySelective(CouponGoodsPrestore record) {
        return couponGoodsPrestoreMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public List<CouponGoodsPrestore> selectAll(Page page, String parentId, String brandId) {
        return couponGoodsPrestoreMapper.selectAll(page, parentId, brandId);
    }

    @Override
    public int countAll(String parentId, String brandId) {
        return couponGoodsPrestoreMapper.countAll(parentId, brandId);
    }

    @Override
    public List<CouponGoodsPrestore> selectAllDetail(Page page, String parentId, String brandId) {
        return couponGoodsPrestoreMapper.selectAllDetail(page, parentId, brandId);
    }
}
